home *** CD-ROM | disk | FTP | other *** search
/ MacTech 1 to 12 / MacTech-vol-1-12.toast / Source / develop™ Technical Journal / develop Issue 26 code / Draft_QuickDraw3D_Technotes.sit / Draft QuickDraw 3D Technotes / CATTRS from developers / Microspot Custom Attributes / READ ME < prev   
MacBinary  |  1996-04-01  |  2.8 KB  |  [TEXT/ttxt]

open in: MacOS 8.1     |     Win98     |     DOS

browse contents    |     view JSON data     |     view as text


This file was processed as: MacBinary (archive/macBinary).

ConfidenceProgramDetectionMatch TypeSupport
10% dexvert MacBinary (archive/macBinary) fallback Supported
1% dexvert Text File (text/txt) fallback Supported
100% file MacBinary II, inited, Mon Apr 1 09:31:43 1996, modified Mon Apr 1 09:31:43 1996, creator SimpleText, type ASCII, 2079 bytes "READ ME" , at 0x89f 512 bytes resource default (weak)
99% file data default
74% TrID Macintosh plain text (MacBinary) default
25% TrID MacBinary 2 default (weak)
100% siegfried fmt/1762 MacBinary (II) default
100% lsar MacBinary default


id metadata
keyvalue
macFileType[TEXT]
macFileCreator[ttxt]



hex view
+--------+-------------------------+-------------------------+--------+--------+
|00000000| 00 07 52 45 41 44 20 4d | 45 00 00 00 00 00 00 00 |..READ M|E.......|
|00000010| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000020| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000030| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000040| 00 54 45 58 54 74 74 78 | 74 01 00 00 00 00 00 00 |.TEXTttx|t.......|
|00000050| 00 00 00 00 00 08 1f 00 | 00 02 00 ad 85 99 4f ad |........|......O.|
|00000060| 85 99 4f 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |..O.....|........|
|00000070| 00 00 00 00 00 00 00 00 | 00 00 81 81 ce 35 00 00 |........|.....5..|
|00000080| 48 65 72 65 20 61 72 65 | 20 61 6c 6c 20 74 68 65 |Here are| all the|
|00000090| 20 63 75 73 74 6f 6d 20 | 61 74 74 72 69 62 75 74 | custom |attribut|
|000000a0| 65 73 20 74 68 61 74 20 | 77 65 20 75 73 65 20 70 |es that |we use p|
|000000b0| 6c 75 73 20 61 6c 6c 20 | 6f 66 20 74 68 65 20 73 |lus all |of the s|
|000000c0| 74 61 6e 64 61 72 64 20 | 6f 6e 65 73 20 74 68 61 |tandard |ones tha|
|000000d0| 74 20 41 70 70 6c 65 20 | 68 61 73 20 61 6c 72 65 |t Apple |has alre|
|000000e0| 61 64 79 20 64 65 66 69 | 6e 65 64 2e 20 54 68 65 |ady defi|ned. The|
|000000f0| 20 6f 6e 6c 79 20 74 68 | 69 6e 67 20 74 68 61 74 | only th|ing that|
|00000100| 20 49 20 64 6f 20 6e 6f | 74 20 6b 6e 6f 77 20 74 | I do no|t know t|
|00000110| 68 61 74 20 77 65 20 61 | 72 65 20 64 6f 69 6e 67 |hat we a|re doing|
|00000120| 20 72 69 67 68 74 20 69 | 73 20 77 68 65 74 68 65 | right i|s whethe|
|00000130| 72 20 74 68 65 20 6e 61 | 6d 65 73 20 65 6e 74 65 |r the na|mes ente|
|00000140| 72 65 64 20 69 6e 20 74 | 68 65 20 72 65 67 69 73 |red in t|he regis|
|00000150| 74 65 72 69 6e 67 20 6f | 66 20 74 68 65 20 61 74 |tering o|f the at|
|00000160| 74 72 69 62 75 74 65 73 | 20 61 72 65 20 63 6f 72 |tributes| are cor|
|00000170| 72 65 63 74 2e 20 49 20 | 61 6d 20 6f 6e 6c 79 20 |rect. I |am only |
|00000180| 64 6f 63 75 6d 65 6e 74 | 69 6e 67 20 74 68 65 20 |document|ing the |
|00000190| 63 75 73 74 6f 6d 20 61 | 74 74 72 69 62 75 74 65 |custom a|ttribute|
|000001a0| 73 20 74 68 61 74 20 4d | 69 63 72 6f 73 70 6f 74 |s that M|icrospot|
|000001b0| 20 68 61 76 65 20 61 64 | 64 65 64 20 61 6c 74 68 | have ad|ded alth|
|000001c0| 6f 75 67 68 20 74 68 65 | 20 73 6f 75 72 63 65 20 |ough the| source |
|000001d0| 63 6f 64 65 20 63 6f 6e | 74 61 69 6e 73 20 61 6c |code con|tains al|
|000001e0| 6c 20 74 68 65 20 41 70 | 70 6c 65 20 6f 6e 65 73 |l the Ap|ple ones|
|000001f0| 20 74 6f 6f 2e 0d 0d 73 | 74 72 75 63 74 20 54 48 | too...s|truct TH|
|00000200| 61 6e 64 6c 65 52 65 63 | 6f 72 64 0d 09 7b 0d 09 |andleRec|ord..{..|
|00000210| 75 6e 73 69 67 6e 65 64 | 20 6c 6f 6e 67 20 74 68 |unsigned| long th|
|00000220| 65 53 69 7a 65 3b 0d 09 | 48 61 6e 64 6c 65 20 74 |eSize;..|Handle t|
|00000230| 68 65 48 61 6e 64 6c 65 | 3b 0d 09 7d 3b 0d 0d 41 |heHandle|;..};..A|
|00000240| 6c 6c 20 74 68 65 20 66 | 6f 6c 6c 6f 77 69 6e 67 |ll the f|ollowing|
|00000250| 20 4d 69 63 72 6f 73 70 | 6f 74 20 61 74 74 72 69 | Microsp|ot attri|
|00000260| 62 75 74 65 73 20 61 72 | 65 20 62 61 73 65 64 20 |butes ar|e based |
|00000270| 61 72 6f 75 6e 64 20 74 | 68 65 20 54 48 61 6e 64 |around t|he THand|
|00000280| 6c 65 52 65 63 6f 72 64 | 20 73 74 72 75 63 74 75 |leRecord| structu|
|00000290| 72 65 2e 20 54 68 69 73 | 20 62 61 73 69 63 61 6c |re. This| basical|
|000002a0| 6c 79 20 68 6f 6c 64 73 | 20 61 20 73 69 7a 65 20 |ly holds| a size |
|000002b0| 6f 72 20 6c 65 6e 67 74 | 68 20 66 6f 6c 6c 6f 77 |or lengt|h follow|
|000002c0| 65 64 20 62 79 20 61 20 | 68 61 6e 64 6c 65 20 74 |ed by a |handle t|
|000002d0| 6f 20 74 68 65 20 64 61 | 74 61 2e 0d 0d 27 73 6e |o the da|ta...'sn|
|000002e0| 64 20 27 3a 20 48 6f 6c | 64 73 20 61 20 68 61 6e |d ': Hol|ds a han|
|000002f0| 64 6c 65 20 74 6f 20 61 | 20 73 6f 75 6e 64 20 77 |dle to a| sound w|
|00000300| 68 69 63 68 20 63 61 6e | 20 62 65 20 70 6c 61 79 |hich can| be play|
|00000310| 65 64 20 77 69 74 68 20 | 50 6c 61 79 53 6e 64 2e |ed with |PlaySnd.|
|00000320| 0d 27 50 49 43 54 27 3a | 20 48 6f 6c 64 73 20 61 |.'PICT':| Holds a|
|00000330| 20 68 61 6e 64 6c 65 20 | 74 6f 20 61 20 51 75 69 | handle |to a Qui|
|00000340| 63 6b 44 72 61 77 20 70 | 69 63 74 75 72 65 20 77 |ckDraw p|icture w|
|00000350| 68 69 63 68 20 63 61 6e | 20 62 65 20 64 72 61 77 |hich can| be draw|
|00000360| 6e 20 77 69 74 68 20 44 | 72 61 77 50 69 63 74 75 |n with D|rawPictu|
|00000370| 72 65 0d 27 54 45 58 54 | 27 3a 20 48 6f 6c 64 73 |re.'TEXT|': Holds|
|00000380| 20 61 20 68 61 6e 64 6c | 65 20 74 6f 20 61 20 62 | a handl|e to a b|
|00000390| 6c 6f 63 6b 20 6f 66 20 | 74 65 78 74 2e 20 49 74 |lock of |text. It|
|000003a0| 73 20 6c 65 6e 67 74 68 | 20 69 73 20 66 6f 75 6e |s length| is foun|
|000003b0| 64 20 75 73 69 6e 67 20 | 47 65 74 48 61 6e 64 6c |d using |GetHandl|
|000003c0| 65 53 69 7a 65 0d 27 6d | 6f 6f 76 27 3a 20 48 6f |eSize.'m|oov': Ho|
|000003d0| 6c 64 73 20 61 20 68 61 | 6e 64 6c 65 20 74 6f 20 |lds a ha|ndle to |
|000003e0| 61 6e 20 61 6c 69 61 73 | 20 74 6f 20 61 20 6d 6f |an alias| to a mo|
|000003f0| 76 69 65 0d 27 64 65 73 | 63 27 3a 20 48 6f 6c 64 |vie.'des|c': Hold|
|00000400| 73 20 61 20 68 61 6e 64 | 6c 65 20 74 6f 20 61 20 |s a hand|le to a |
|00000410| 62 6c 6f 63 6b 20 6f 66 | 20 74 65 78 74 20 74 68 |block of| text th|
|00000420| 61 74 20 68 6f 6c 64 73 | 20 74 68 65 20 64 65 73 |at holds| the des|
|00000430| 63 72 69 70 74 69 6f 6e | 20 6f 66 20 61 6e 20 6f |cription| of an o|
|00000440| 62 6a 65 63 74 0d 0d 27 | 4c 4f 43 4b 27 3a 20 61 |bject..'|LOCK': a|
|00000450| 20 33 32 20 62 69 74 20 | 69 6e 74 65 67 65 72 20 | 32 bit |integer |
|00000460| 77 68 6f 73 65 20 62 69 | 74 73 20 72 65 70 72 65 |whose bi|ts repre|
|00000470| 73 65 6e 74 20 74 68 65 | 20 6f 62 6a 65 63 74 73 |sent the| objects|
|00000480| 20 6c 6f 63 6b 65 64 20 | 6f 72 20 63 6f 6e 73 74 | locked |or const|
|00000490| 72 61 69 6e 65 64 20 73 | 74 61 74 65 2e 0d 0d 09 |rained s|tate....|
|000004a0| 6b 4f 62 6a 65 63 74 4c | 6f 63 6b 65 64 42 69 74 |kObjectL|ockedBit|
|000004b0| 20 3d 20 31 20 2f 2f 20 | 74 68 65 20 6f 62 6a 65 | = 1 // |the obje|
|000004c0| 63 74 20 69 73 20 63 6f | 6d 70 6c 65 74 65 6c 79 |ct is co|mpletely|
|000004d0| 20 6c 6f 63 6b 65 64 20 | 61 6e 64 20 6d 61 79 20 | locked |and may |
|000004e0| 6e 6f 74 20 62 65 20 6d | 6f 64 69 66 69 65 64 20 |not be m|odified |
|000004f0| 69 6e 20 61 6e 79 20 77 | 61 79 0d 09 6b 4f 62 6a |in any w|ay..kObj|
|00000500| 65 63 74 43 6f 6e 73 74 | 72 61 69 6e 50 6f 73 58 |ectConst|rainPosX|
|00000510| 42 69 74 20 3d 20 32 20 | 2f 2f 20 70 6f 73 69 74 |Bit = 2 |// posit|
|00000520| 69 6f 6e 20 69 73 20 6e | 6f 74 20 61 6c 6c 6f 77 |ion is n|ot allow|
|00000530| 65 64 20 74 6f 20 6d 6f | 76 65 20 69 6e 20 58 0d |ed to mo|ve in X.|
|00000540| 09 6b 4f 62 6a 65 63 74 | 43 6f 6e 73 74 72 61 69 |.kObject|Constrai|
|00000550| 6e 50 6f 73 59 42 69 74 | 20 3d 20 33 0d 09 6b 4f |nPosYBit| = 3..kO|
|00000560| 62 6a 65 63 74 43 6f 6e | 73 74 72 61 69 6e 50 6f |bjectCon|strainPo|
|00000570| 73 5a 42 69 74 20 3d 20 | 34 0d 09 6b 4f 62 6a 65 |sZBit = |4..kObje|
|00000580| 63 74 43 6f 6e 73 74 72 | 61 69 6e 53 69 7a 65 58 |ctConstr|ainSizeX|
|00000590| 42 69 74 20 3d 20 35 20 | 2f 2f 20 73 69 7a 65 20 |Bit = 5 |// size |
|000005a0| 69 73 20 6e 6f 74 20 61 | 6c 6c 6f 77 65 64 20 74 |is not a|llowed t|
|000005b0| 6f 20 67 72 6f 77 20 69 | 6e 20 58 0d 09 6b 4f 62 |o grow i|n X..kOb|
|000005c0| 6a 65 63 74 43 6f 6e 73 | 74 72 61 69 6e 53 69 7a |jectCons|trainSiz|
|000005d0| 65 59 42 69 74 20 3d 20 | 36 0d 09 6b 4f 62 6a 65 |eYBit = |6..kObje|
|000005e0| 63 74 43 6f 6e 73 74 72 | 61 69 6e 53 69 7a 65 5a |ctConstr|ainSizeZ|
|000005f0| 42 69 74 20 3d 20 37 0d | 09 6b 4f 62 6a 65 63 74 |Bit = 7.|.kObject|
|00000600| 43 6f 6e 73 74 72 61 69 | 6e 52 6f 74 61 74 65 58 |Constrai|nRotateX|
|00000610| 42 69 74 20 3d 20 38 20 | 2f 2f 20 61 6e 67 6c 65 |Bit = 8 |// angle|
|00000620| 20 69 73 20 6e 6f 74 20 | 61 6c 6c 6f 77 65 64 20 | is not |allowed |
|00000630| 74 6f 20 72 6f 74 61 74 | 65 20 69 6e 20 58 0d 09 |to rotat|e in X..|
|00000640| 6b 4f 62 6a 65 63 74 43 | 6f 6e 73 74 72 61 69 6e |kObjectC|onstrain|
|00000650| 52 6f 74 61 74 65 59 42 | 69 74 20 3d 20 39 0d 09 |RotateYB|it = 9..|
|00000660| 6b 4f 62 6a 65 63 74 43 | 6f 6e 73 74 72 61 69 6e |kObjectC|onstrain|
|00000670| 52 6f 74 61 74 65 5a 42 | 69 74 20 3d 20 31 30 0d |RotateZB|it = 10.|
|00000680| 09 6b 4f 62 6a 65 63 74 | 50 72 69 6d 69 74 69 76 |.kObject|Primitiv|
|00000690| 65 42 69 74 20 3d 20 31 | 31 20 2f 2f 20 61 6e 20 |eBit = 1|1 // an |
|000006a0| 6f 62 6a 65 63 74 20 6f | 72 20 67 72 6f 75 70 20 |object o|r group |
|000006b0| 69 73 20 61 20 70 72 69 | 6d 69 74 69 76 65 20 61 |is a pri|mitive a|
|000006c0| 6e 64 20 6d 61 79 20 6e | 6f 74 20 62 65 20 75 6e |nd may n|ot be un|
|000006d0| 67 72 6f 75 70 65 64 2e | 0d 2f 2f 20 61 6e 79 20 |grouped.|.// any |
|000006e0| 73 75 67 67 65 73 74 69 | 6f 6e 73 20 66 6f 72 20 |suggesti|ons for |
|000006f0| 6d 6f 72 65 20 62 69 74 | 73 3f 3f 0d 0d 50 72 6f |more bit|s??..Pro|
|00000700| 70 6f 73 65 64 20 6e 65 | 77 20 61 74 74 72 69 62 |posed ne|w attrib|
|00000710| 75 74 65 73 20 62 75 74 | 20 6e 6f 74 20 69 6d 70 |utes but| not imp|
|00000720| 6c 65 6d 65 6e 74 65 64 | 3a 0d 0d 27 61 6c 69 73 |lemented|:..'alis|
|00000730| 27 3a 20 41 20 54 48 61 | 6e 64 6c 65 52 65 63 6f |': A THa|ndleReco|
|00000740| 72 64 20 77 68 69 63 68 | 20 68 6f 6c 64 73 20 61 |rd which| holds a|
|00000750| 20 68 61 6e 64 6c 65 20 | 74 6f 20 61 6e 20 61 6c | handle |to an al|
|00000760| 69 61 73 2e 0d 27 43 4f | 53 54 27 3a 20 41 20 64 |ias..'CO|ST': A d|
|00000770| 6f 75 62 6c 65 20 77 68 | 69 63 68 20 68 6f 6c 64 |ouble wh|ich hold|
|00000780| 73 20 74 68 65 20 70 72 | 69 63 65 20 6f 66 20 61 |s the pr|ice of a|
|00000790| 6e 20 69 74 65 6d 20 69 | 6e 20 61 20 73 74 61 6e |n item i|n a stan|
|000007a0| 64 61 72 64 20 63 75 72 | 72 65 6e 63 79 20 28 44 |dard cur|rency (D|
|000007b0| 6f 6c 6c 61 72 20 6f 72 | 20 50 6f 75 6e 64 3f 3f |ollar or| Pound??|
|000007c0| 29 0d 0d 54 68 65 20 63 | 6f 73 74 20 61 74 74 72 |)..The c|ost attr|
|000007d0| 69 62 75 74 65 20 6d 61 | 79 20 6e 65 65 64 20 6d |ibute ma|y need m|
|000007e0| 6f 72 65 20 74 68 69 6e | 6b 69 6e 67 20 61 62 6f |ore thin|king abo|
|000007f0| 75 74 20 61 6e 64 20 6d | 61 79 62 65 20 41 70 70 |ut and m|aybe App|
|00000800| 6c 65 20 68 61 73 20 73 | 6f 6d 65 20 67 6f 6f 64 |le has s|ome good|
|00000810| 20 69 64 65 61 73 20 61 | 73 20 74 6f 20 68 6f 77 | ideas a|s to how|
|00000820| 20 74 6f 20 61 64 64 20 | 61 20 70 72 69 63 65 20 | to add |a price |
|00000830| 74 6f 20 61 6e 20 69 74 | 65 6d 2e 20 57 65 20 77 |to an it|em. We w|
|00000840| 69 6c 6c 20 6e 65 65 64 | 20 74 68 69 73 20 61 74 |ill need| this at|
|00000850| 74 72 69 62 75 74 65 20 | 77 68 65 6e 20 77 65 20 |tribute |when we |
|00000860| 77 61 6e 74 20 74 6f 20 | 68 61 76 65 20 61 20 72 |want to |have a r|
|00000870| 65 70 6f 72 74 20 6f 66 | 20 74 68 65 20 69 74 65 |eport of| the ite|
|00000880| 6d 73 20 69 6e 20 61 20 | 64 65 73 69 67 6e 20 77 |ms in a |design w|
|00000890| 69 74 68 20 61 20 63 6f | 73 74 69 6e 67 2e 0d 00 |ith a co|sting...|
|000008a0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000008b0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000008c0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000008d0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000008e0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000008f0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000900| 00 00 01 00 00 00 01 ce | 00 00 00 ce 00 00 00 32 |........|.......2|
|00000910| ff be 66 2c 41 ee fe 6f | 43 ee ff be 70 40 a2 2e |..f,A..o|C...p@..|
|00000920| 60 1e 41 ee ff 32 43 ee | ff b8 70 10 22 d8 51 c8 |`.A..2C.|..p.".Q.|
|00000930| 07 52 45 41 44 20 4d 45 | 02 00 00 00 54 45 58 54 |.READ ME|....TEXT|
|00000940| 74 74 78 74 01 00 00 00 | 01 00 00 00 00 00 2e a8 |ttxt....|........|
|00000950| 00 00 54 45 58 54 74 74 | 78 74 01 00 00 00 01 00 |..TEXTtt|xt......|
|00000960| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000970| 00 00 ad 3c df 23 00 00 | 08 1f 00 00 02 00 00 6c |...<.#..|.......l|
|00000980| 41 ee ff be 43 ed f2 de | 70 20 a2 2e 20 2e ff 8a |A...C...|p .. ...|
|00000990| d0 ae ff 8e 2b 40 f1 da | 2b 40 f2 fe 42 ad f1 d6 |....+@..|+@..B...|
|000009a0| 48 6e ff ff 48 6d f1 d2 | 4e b9 00 00 00 50 48 6e |Hn..Hm..|N....PHn|
|000009b0| ff ff 48 6d f1 d2 4e b9 | 00 00 00 18 41 ee ff b8 |..Hm..N.|....A...|
|000009c0| 5c 88 2b 48 f1 6a 3b 6e | ff b8 f1 6e 2b 6e ff ba |\.+H.j;n|...n+n..|
|000009d0| f1 88 41 ed f1 58 a2 08 | 48 c0 72 d0 b0 81 4f ef |..A..X..|H.r...O.|
|000009e0| 00 14 66 3c 76 01 4a 6e | 00 14 66 18 48 6e ff b8 |..f<v.Jn|..f.Hn..|
|000009f0| 4e b9 00 00 38 8e 41 ee | ff b8 5c 88 2b 48 f1 6a |N...8.A.|..\.+H.j|
|00000a00| 00 00 00 ca 00 0a 00 00 | 00 00 00 10 00 0c 00 03 |........|........|
|00000a10| 00 00 00 0c 00 00 00 00 | 00 00 00 00 01 77 00 10 |........|.....w..|
|00000a20| 00 0c 00 01 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000a30| 02 5d 00 10 00 0c 00 03 | 00 00 00 0c 00 00 00 00 |.]......|........|
|00000a40| 00 00 00 00 03 46 00 10 | 00 0c 00 01 00 00 00 00 |.....F..|........|
|00000a50| 00 00 00 00 00 00 00 00 | 03 4c 00 10 00 0c 00 03 |........|.L......|
|00000a60| 00 00 00 0c 00 00 00 00 | 00 00 00 00 03 73 00 10 |........|.....s..|
|00000a70| 00 0c 00 01 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000a80| 03 7a 00 10 00 0c 00 03 | 00 00 00 0c 00 00 00 00 |.z......|........|
|00000a90| 00 00 00 00 03 c5 00 10 | 00 0c 00 01 00 00 00 00 |........|........|
|00000aa0| 00 00 00 00 00 00 00 00 | 06 ca 00 10 00 0c 00 03 |........|........|
|00000ab0| 00 00 00 0c 00 00 00 00 | 00 00 00 00 06 e5 00 10 |........|........|
|00000ac0| 00 0c 00 01 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000ad0| 01 00 00 00 01 ce 00 00 | 00 ce 00 00 00 32 00 af |........|.....2..|
|00000ae0| 0e f8 24 5c 00 00 00 1c | 00 32 00 00 73 74 79 6c |..$\....|.2..styl|
|00000af0| 00 00 00 0a 00 80 ff ff | 00 00 00 00 00 af 11 bc |........|........|
+--------+-------------------------+-------------------------+--------+--------+